package com.serkol.ams.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.serkol.ams.bean.MyPage;
import com.serkol.ams.bean.MyPageOld;
import com.serkol.ams.entity.UsersWalletWithdrawal;

import java.util.Map;

/**
* @author pingan
* @description 针对表【users_wallet_withdrawal】的数据库操作Service
* @createDate 2022-09-28 12:31:45
*/
public interface UsersWalletWithdrawalService extends IService<UsersWalletWithdrawal> {

    MyPageOld findByMyWithdrawal(int pageSize, int current, int status);

    MyPage<Map<String, Object>> findByPageList(int pageSize, int page, int status, String authName);


    Map<String, Object> getInfoLog();

    Map<String, Object> getWithdrawalInfo(long id);

    Map<String, Object> getUsersStastic();


    UsersWalletWithdrawal findByWaitByUserId(Long userId);
    long findByWaitByUserCount(Long userId);
}
